//
   Created by 刘柘林 on 2016/12/10.

extends  ../layout

block scripts
    script(src='/js/background_color.js')
    script(src='/js/fresh_doctor_ajax.js')
    link(rel='stylesheet', href='/stylesheets/css/iframe_style.css')
block content
    .news
        .container
            h3.ttl #{hospital.name}
            .bs-example.bs-example-tabs(role='tabpanel', data-example-id='togglable-tabs')
                ul#myTab.nav.nav-tabs(role='tablist')
                    li.active(role='presentation')
                        a#infor-tab(href='#home', role='tab', data-toggle='tab', aria-controls='home', aria-expanded='true') 医院信息
                    li(role='presentation')
                        a#appoint-tab(href='#appoint', role='tab', data-toggle='tab', aria-controls='appoint') 预约挂号

                #myTabContent.tab-content
                    #home.tab-pane.fade.in.active(role='tabpanel', aria-labelledby='home-tab')
                        p
                            | #{hospital.information}
                    #appoint.tab-pane.fade(role='tabpanel', aria-labelledby='appoint-tab')
                        .col-md-12.cnt-inpt.top-nav#fid
                            h4 <b>一级科室</b>
                            br
                            ul.mouse-on
                                each item,i in dept_f
                                     - if(i == 0)
                                         li.select-cur(data-selected="1",value= item.id)= item.name
                                     - else
                                         li(value= item.id)= item.name
                        .col-md-12.cnt-inpt.top-nav#sid
                            h4 <b>二级科室</b>
                            br
                            ul.mouse-on
                                li.select-cur(data-selected="1",value='0') 全部
                                each item,i in dept_s
                                    li(value= item.id)= item.name
                        .col-md-12.cnt-inpt.top-nav#d_lev
                            h4 <b>医生职称</b>
                            br
                            ul.mouse-on
                                li.select-cur(data-selected="1",value='0') 全部
                                li(value='4') 主任医师
                                li(value='3') 副主任医师
                                li(value='2') 主治医师
                                li(value='1') 普通医师

                        #doctor_list_iframe
                             #doctor_list